projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3841d3
)
(add-to-list): Doc fix.
author
Pavel Janík
<Pavel@Janik.cz>
Mon, 11 Mar 2002 13:31:50 +0000
(13:31 +0000)
committer
Pavel Janík
<Pavel@Janik.cz>
Mon, 11 Mar 2002 13:31:50 +0000
(13:31 +0000)
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index 210a8f571ceb7ae32c4faaa6b50bd42355f80f2b..189ec1f74e2d74eef77458b0fc149528786650df 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-798,6
+798,8
@@
If ELEMENT is added, it is added at the beginning of the list,
unless the optional argument APPEND is non-nil, in which case
ELEMENT is added at the end.
+The return value is the new value of LIST-VAR.
+
If you want to use `add-to-list' on a variable that is not defined
until a certain package is loaded, you should put the call to `add-to-list'
into a hook function that will be run only after loading the package.